package com.erp.erp_entitys.warehouse.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 调拨表(Transfer)实体类
 *
 * @author lst
 * @since 2020-07-31 13:16:06
 */
public class TransferEntity implements Serializable {
    private static final long serialVersionUID = -30172732888166039L;
    /**
    * 主键
    */
    private Integer id;
    /**
    * 调拨单号
    */
    private String billNo;
    /**
    * 调拨类型(1:合同调拨 2:合同置空)
    */
    private Integer type;
    /**
    * 调拨时间
    */
    private Date time;
    /**
    * 仓库名称
    */
    private String warehouseName;
    /**
     * 仓库编码
     */
    private String warehouseCode;
    /**
    * 创建人
    */
    private String creator;
    /**
    * 创建人编码
    */
    private String creatorNo;
    /**
    * 创建时间
    */
    private Date createDate;
    /**
     * 修改时间
     */
    private Date modifyTime;
    /**
    * 备注
    */
    private String memo;
    /**
    * 状态(1.草稿箱 2.待批箱 3.已批箱 4.完成箱 5.垃圾箱)
    */
    private Integer status;
    /**
    * 是否有效(0:无效 1:有效)
    */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreatorNo() {
        return creatorNo;
    }

    public void setCreatorNo(String creatorNo) {
        this.creatorNo = creatorNo;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("TransferEntity").append('[')
                .append("id=")
                .append(id)
                .append(",billNo=")
                .append(billNo)
                .append(",type=")
                .append(type)
                .append(",time=")
                .append(time)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",warehouseCode=")
                .append(warehouseCode)
                .append(",creator=")
                .append(creator)
                .append(",creatorNo=")
                .append(creatorNo)
                .append(",createDate=")
                .append(createDate)
                .append(",modifyTime=")
                .append(modifyTime)
                .append(",memo=")
                .append(memo)
                .append(",status=")
                .append(status)
                .append(",valid=")
                .append(valid)
                .append(']');
        return sb.toString();
    }
}